import { tableServiceInterface } from "@/common/interface/table.interface";
import { $getMessageList, $messageDetail, $messageDetele } from "@/apis/message/message";
import { messageListInterface } from "@/apis/message/message.interface";

export default class LeaveWordListService implements tableServiceInterface {
  async getTable(e: messageListInterface): Promise<any> {
    return $getMessageList(e);
  }
  detail(id: number): Promise<any> {
    return $messageDetail(id);
  }
  deleteMultiple(e: Array<string>): Promise<any> {
    return $messageDetele(e);
  }
}